/**
 * 
 */
package models;
import util.constants.GlobalConstants;;
/**
 * @author Teja
 * 
 */
public class UserInfo {

	private String username;
	private String password;
	private String userRole;
	private String firstName;
	private String lastName;
	private String emailAddress;
	private Address address;

	public UserInfo() {
		this.username = GlobalConstants.DEFAULT_STRING_VALUE;
		this.password = GlobalConstants.DEFAULT_STRING_VALUE;
		this.userRole = GlobalConstants.DEFAULT_STRING_VALUE;
		this.firstName = GlobalConstants.DEFAULT_STRING_VALUE;
		this.lastName = GlobalConstants.DEFAULT_STRING_VALUE;
		this.emailAddress = GlobalConstants.DEFAULT_STRING_VALUE;
		this.address = new Address();
	}

	public UserInfo(String username, String password, String userRole,
			String firstName, String lastName, String emailAddress,
			Address address) {
		this.username = username;
		this.password = password;
		this.userRole = userRole;
		this.firstName = firstName;
		this.lastName = lastName;
		this.emailAddress = emailAddress;
		this.address = address;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the userRole
	 */
	public String getUserRole() {
		return userRole;
	}

	/**
	 * @param userRole
	 *            the userRole to set
	 */
	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param firstName
	 *            the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName
	 *            the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the emailAddress
	 */
	public String getEmailAddress() {
		return emailAddress;
	}

	/**
	 * @param emailAddress
	 *            the emailAddress to set
	 */
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	/**
	 * @return the address
	 */
	public Address getAddress() {
		return address;
	}

	/**
	 * @param address
	 *            the address to set
	 */
	public void setAddress(Address address) {
		this.address = address;
	}

}
